<div class="posts form">
<?php echo $this->Form->create('Photo', array('type' => 'file')); ?>
	<fieldset>
		<legend><?php echo __('Add Photo'); ?></legend>
	<?php
		echo $this->Form->file('file');
                echo $this->Form->input('photo_group_id');
	?>
                
	</fieldset>
<?php echo $this->Form->end(__('Submit'));?>
</div>
<div class="actions">
    <h3><?php echo __('Actions'); ?></h3>
    <ul>
        <li><?php echo $this->Html->link(__('List Photos'), array('action' => 'index')); ?></li>
        <li><?php echo $this->Html->link(__('List Photo Groups'), array('controller' => 'photo_groups', 'action' => 'index')); ?> </li>
        <li><?php echo $this->Html->link(__('New Photo Group'), array('controller' => 'photo_groups', 'action' => 'add')); ?> </li>
    </ul>
</div>
